package model.dtos;

import java.util.Date;

public class Umpire extends Person
{
	private int arbitratedGames;
	private Date lastArbitrated;
	
	public Umpire()
	{
		this.arbitratedGames = 0;
	}
	
	public Umpire(String identification, String name, String lastName, Date birthday)
	{
		super(identification, name, lastName, birthday);
		this.arbitratedGames = 0;
	}
	
	public Umpire(String identification, String name, String lastName, Date birthday, int arbitratedGames)
	{
		super(identification, name, lastName, birthday);
		this.arbitratedGames = arbitratedGames;
	}

	public int getArbitratedGames()
	{
		return arbitratedGames;
	}

	public void setArbitratedGames(int arbitratedGames)
	{
		this.arbitratedGames = arbitratedGames;
	}
	
	public Date getLastArbitrated()
	{
		return lastArbitrated;
	}

	public void setLastArbitrated(Date lastArbitrated)
	{
		this.lastArbitrated = lastArbitrated;
	}

	public void addArbitratedGame (int k)
	{
		this.arbitratedGames += k;
	}
	
	
}
